const routes = [
    { path: '/', component: () => import("../pages/IndexPage.vue") },
    { path: '/team', title: '找队伍', component: () => import("../pages/TeamPage.vue") },
    { path: '/team/update', title: '编辑队伍', component: () => import("../pages/TeamUpdatePage.vue") },
    { path: '/team/detail', title: '队伍详情', component: () => import("../pages/TeamDetailPage.vue") },
    { path: '/search', title: '寻找朋友', component: () => import("../pages/SearchPage.vue") },
    { path: '/user', title: '主页', component: () => import("../pages/UserPage.vue") },
    { path: '/user/editTags', title: '编辑标签信息', component: () => import("../pages/UserEditTagsPage.vue") },
    { path: '/user/login', title: '登录', component: () => import("../pages/UserLoginPage.vue") },
    { path: '/user/reg', title: '注册', component: () => import("../pages/UserRegisterPage.vue") },
    { path: '/user/team', title: '队伍', component: () => import("../pages/UserTeamPage.vue") },
    { path: '/friends', title: '联系人', component: () => import("../pages/FriendsPage.vue") },
    { path: '/message', title: '信息', component: () => import("../pages/MessagePage.vue") },
    { path: '/chat', title: '聊天', component: () => import("../pages/ChatPage.vue") },
];

export default routes;
